package cn.com.dycc.task_manage.ordermain.param;

import java.io.Serializable;

import cn.com.dycc.common.page.BaseEntity;

public class OrderMainParam extends BaseEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1055693570242161242L;
	
	private String order_id;			//任务（工单）ID
	private String order_title;			//任务（工单）标题
	private String order_type;			//任务（工单）类别
	private String order_des;			//任务内容描述
	private String send_user_id;		//任务（工单）拟单人ID
	private String send_dept_id;		//拟单部门ID
	private String send_date;			//拟单时间
	private String order_status;		//工单处理状态
	private String finish_date;			//完成时间
	private String task_limit_date;		//任务的整体完成时限
	
	public OrderMainParam(){}

	public OrderMainParam(String order_id, String order_title, String order_type, String order_des, String send_user_id,
			String send_dept_id, String send_date, String order_status, String finish_date, String task_limit_date) {
		super();
		this.order_id = order_id;
		this.order_title = order_title;
		this.order_type = order_type;
		this.order_des = order_des;
		this.send_user_id = send_user_id;
		this.send_dept_id = send_dept_id;
		this.send_date = send_date;
		this.order_status = order_status;
		this.finish_date = finish_date;
		this.task_limit_date = task_limit_date;
	}

	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

	public String getOrder_title() {
		return order_title;
	}

	public void setOrder_title(String order_title) {
		this.order_title = order_title;
	}

	public String getOrder_type() {
		return order_type;
	}

	public void setOrder_type(String order_type) {
		this.order_type = order_type;
	}

	public String getOrder_des() {
		return order_des;
	}

	public void setOrder_des(String order_des) {
		this.order_des = order_des;
	}

	public String getSend_user_id() {
		return send_user_id;
	}

	public void setSend_user_id(String send_user_id) {
		this.send_user_id = send_user_id;
	}

	public String getSend_dept_id() {
		return send_dept_id;
	}

	public void setSend_dept_id(String send_dept_id) {
		this.send_dept_id = send_dept_id;
	}

	public String getSend_date() {
		return send_date;
	}

	public void setSend_date(String send_date) {
		this.send_date = send_date;
	}

	public String getOrder_status() {
		return order_status;
	}

	public void setOrder_status(String order_status) {
		this.order_status = order_status;
	}

	public String getFinish_date() {
		return finish_date;
	}

	public void setFinish_date(String finish_date) {
		this.finish_date = finish_date;
	}

	public String getTask_limit_date() {
		return task_limit_date;
	}

	public void setTask_limit_date(String task_limit_date) {
		this.task_limit_date = task_limit_date;
	}

	@Override
	public String toString() {
		return "OrderMainParam [order_id=" + order_id + ", order_title=" + order_title + ", order_type=" + order_type
				+ ", order_des=" + order_des + ", send_user_id=" + send_user_id + ", send_dept_id=" + send_dept_id
				+ ", send_date=" + send_date + ", order_status=" + order_status + ", finish_date=" + finish_date
				+ ", task_limit_date=" + task_limit_date + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((order_id == null) ? 0 : order_id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		OrderMainParam other = (OrderMainParam) obj;
		if (order_id == null) {
			if (other.order_id != null)
				return false;
		} else if (!order_id.equals(other.order_id))
			return false;
		return true;
	}
	
	
	

}
